.netCore數據庫遷移 程序包管理器控制台下Nuget 命令: 初始遷移命令: add-migration init -Context DAL.ProductContext 全稱:migrations add ...